// src/types/store.types.ts

// 存储相关类型定义
export interface AuthState {
  token: string | null;
  userId: string | null;
  isAuthenticated: boolean;
  isLoading: boolean;
  error: string | null;
}

export interface UiState {
  leftDrawerOpen: boolean;
  navVClass: number;
  navHClass: number;
}

export interface RootState {
  auth: AuthState;
  ui: UiState;
  // 其他状态...
}